﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EntityComponentSystem.Framework;
using System.Drawing;

namespace EntityComponentSystem.Demos.SpaceAttack.Components
{
    public class RenderComponent : Component
    {
        public RenderComponent(string texture)
        {
            this.Texture = texture;
            this.Color = ConsoleColor.White;
        }

        public string Texture { get; private set; }
        public ConsoleColor Color { get; private set; }

        public void SetTexture(string texture)
        {
            this.Texture = texture;
        }

        protected override void OnInit()
        {
            base.OnInit();
        }
    }
}
